package com.xsy.de;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.data.neo4j.repository.config.EnableNeo4jRepositories;

@SpringBootApplication
@EnableCaching
@EnableNeo4jRepositories("com.xsy.de.repositories")
public class DeApplication {
    private final static Logger log = LogManager.getLogger(DeApplication.class);

    public static void main(String[] args) {
        log.info("服务启动中...");
        SpringApplication.run(DeApplication.class, args);
        log.info("服务启完成！");
    }

}
